package com.caoji.advice;

import lombok.Getter;

/**
 * @Description： User: caoji
 * Date: 2020/12/3
 * Time: 20:52
 */
@Getter
public class lyExcption extends RuntimeException{
    private Integer code;

    public lyExcption(Integer code, Throwable throwable) {
        this.code = code;
    }

    public lyExcption(Integer code,String message ) {
        super(message);
        this.code = code;
    }

    public lyExcption(Integer code,String message, Throwable cause ) {
        super(message, cause);
        this.code = code;
    }
}
